package com.test.demo.service;

import com.test.demo.mapper.UserMapper;
import com.test.demo.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public List<User> qryUserList(){
        return userMapper.selectList();
    }
}
